# Generated from testlib.pro.

#####################################################################
## qmltestplugin Plugin:
#####################################################################

qt_add_qml_module(qmltestplugin
    URI "QtTest"
    VERSION "${CMAKE_PROJECT_VERSION}"
    CLASSNAME QTestQmlModule
    DEPENDENCIES
        QtQuick.Window/2.0
    GENERATE_QMLTYPES
    SOURCES
        main.cpp
        quicktestevent.cpp quicktestevent_p.h
        quicktestresultforeign_p.h
        quicktestutil.cpp quicktestutil_p.h
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::CorePrivate
        Qt::Gui
        Qt::GuiPrivate
        Qt::QmlPrivate
        Qt::Quick
        Qt::QuickTestPrivate
        Qt::Test
)

#### Keys ignored in scope 1:.:.:testlib.pro:<TRUE>:
# CXX_MODULE = "qml"
# OTHER_FILES = "testlib.json"
# QML_FILES = "TestCase.qml" "SignalSpy.qml" "testlogger.js"
# QML_IMPORT_VERSION = "$$QT_VERSION"
# TARGETPATH = "QtTest"

set(qml_files
    "TestCase.qml"
    "SignalSpy.qml"
    "testlogger.js"
)
set_source_files_properties(TestCase.qml PROPERTIES
    QT_QML_SOURCE_VERSION "1.0"
)
set_source_files_properties(SignalSpy.qml PROPERTIES
    QT_QML_SOURCE_VERSION "1.0"
)
set_source_files_properties(testlogger.js PROPERTIES
    QT_QML_SKIP_QMLDIR_ENTRY TRUE
)

qt6_target_qml_files(qmltestplugin
    FILES
        ${qml_files}
)
